翻訳と辞書
Words near each other
・ Native video
・ Native Village of Afognak
・ Native American use of fire
・ Native American weaponry
・ Native American women in the arts
・ Native Americans and hot springs
・ Native Americans and reservation inequality
・ Native Americans and World War II
・ Native Americans in children's literature
・ Native Americans in German popular culture
・ Native Americans in popular culture
・ Native Americans in the American Civil War
・ Native Americans in the United States
・ Native Americans on Network TV
・ Native and foreign format
Native API
・ Native Appropriations
・ Native Art Center at the University of Alaska Fairbanks
・ Native Baptist Church of Douala
・ Native Bay
・ Native Brotherhood of British Columbia
・ Native Building Workers Act, 1951
・ Native Canadians
・ Native Canadians (album)
・ Native capacity
・ Native Carrot
・ Native chemical ligation
・ Native cherry
・ Native Children's Survival
・ Native cloud application


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Native API : ウィキペディア英語版
Native API
The Native API (with capitalized N) is the application programming interface (API) used by Windows NT and user mode applications. It is usually used during system boot, when other components of Windows are unavailable, and by routines such as those in kernel32.dll that implement the Windows API. The entry point of ntdll.dll is LdrInitializeThunk. Most of the Native API calls are implemented in ntoskrnl.exe and are exposed to user mode by ntdll.dll. Some Native API calls are implemented in user mode directly within ntdll.dll.
Native API calls are handled by the kernel via the SSDT.
While most of Microsoft Windows is implemented using the documented and well-defined Windows API, a few components, such as the Client/Server Runtime Subsystem, are implemented using the Native API, as they can be started earlier in the Windows NT Startup Process when the Windows API is not yet available.
== Function groups ==

The Native API comprises many functions. They include C runtime functions that are needed for a very basic C runtime execution, such as strlen(), sprintf() and floor(). Other common procedures like malloc(), printf(), scanf() are missing. The vast majority of other Native API routines, by convention, have a 2 or 3 letter prefix, which is:
* Nt or Zw are system calls declared in ntdll.dll and ntoskrnl.exe. When called from ntdll.dll in user mode, these groups are almost exactly the same; they trap into kernel mode and call the equivalent function in ntoskrnl.exe via the SSDT. When calling the functions directly in ntoskrnl.exe (only possible in kernel mode), the Zw variants ensure kernel mode, whereas the Nt variants do not. The Zw prefix does not stand for anything.
* Rtl is the second largest group of ntdll calls. These comprise the (extended) C Run-Time Library, which includes many utility functions that can be used by native applications, yet don't directly involve kernel support.
* Csr are client-server functions that are used to communicate with the Win32 subsystem process, csrss.exe (''csrss'' stands for client/server runtime sub-system).
* Dbg are debugging functions such as a software breakpoint.
* Ki are upcalls from kernel mode for events like APC dispatching.
* Ldr are loader functions for PE file handling and starting of new processes.
* Nls for Native Language Support (similar to code pages).
* Pfx for prefix handling.
user32.dll and gdi32.dll includes several other calls that trap into kernel mode. These were not part of the original Windows NT design, as can be seen in Windows NT 3.5. However, due to performance issues of hardware of that age, it was decided to move the graphics subsystem into kernel mode. As such, system call in the range of 0x1000-0x1FFF are satisfied by win32k.sys (instead of ntoskrnl.exe as done for 0-0x0FFF), and are declared in user32.dll and gdi32.dll. These functions have the NtUser and NtGdi prefix (e.g. NtUserLockWorkStation and NtGdiEnableEudc).
There are also many more groups exported from ntoskrnl.exe and therefore are usable only in kernel mode. These may or may not be counted for Native API, depending on whom you ask (since the Native API is not fully officially documented, there is no one answer). Such groups include Cc (cache controller), Ex (Windows Executive), FsRtl (file system runtime), Io (I/O manager), Ke (core kernel routines), Ks (kernel streaming), Lpc (Local Procedure Call), Lsa (Local Security Authority), Mm (memory management), Ob (Object Manager), Ps (Process management), Se (security), Po (power management) and others.〔

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Native API」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.